package sp.pojo;

import java.util.Date;

/**
 * 订单信息
 * @description: 图书 用户 收货地址
 * @author 浮~沉
 * @date 2020年4月30日
 */
public class Order {
	
	private Integer id;
	private String orderId;			//订单编号
	private Integer userId;			//用户信息
	private Integer bookId;			//图书编号
	private Integer num;			//图书数量
	private Double total;			//总计金额
	private Integer payWay;			//支付方式代号--数据字典
	private Date createDate;	
	private Date payDate;			//支付时间
	private Date finishDate;		//订单完成时间 --已发货即可
	private Integer payStatus;		//支付状态--反馈用户
	private String remark;			//备注信息
	
	
	/*---------  关联表信息    ----------*/
	private String userName;		//支付用户名
	private String bookName;		//书名
	private String imgPath;			//图书缩略图路径
	private String bookPrice;		//图书价格
	private String contactWay;		//联系方式  电话->微信->qq

	private String payStatusName;	//支付状态
	private String payWayName;		//支付方式名
	
	public Order() {}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getOrderId() {
		return orderId;
	}


	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}


	public Integer getUserId() {
		return userId;
	}


	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public Integer getBookId() {
		return bookId;
	}


	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}


	public Integer getNum() {
		return num;
	}


	public void setNum(Integer num) {
		this.num = num;
	}


	public Double getTotal() {
		return total;
	}


	public void setTotal(Double total) {
		this.total = total;
	}


	public Integer getPayWay() {
		return payWay;
	}


	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}


	public Date getCreateDate() {
		return createDate;
	}


	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}


	public Date getPayDate() {
		return payDate;
	}


	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}


	public Date getFinishDate() {
		return finishDate;
	}


	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}


	public Integer getPayStatus() {
		return payStatus;
	}


	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}


	public String getRemark() {
		return remark;
	}


	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getUserName() {
		return userName;
	}


	public void setUserName(String userName) {
		this.userName = userName;
	}


	public String getBookName() {
		return bookName;
	}


	public void setBookName(String bookName) {
		this.bookName = bookName;
	}


	public String getImgPath() {
		return imgPath;
	}


	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}


	public String getBookPrice() {
		return bookPrice;
	}


	public void setBookPrice(String bookPrice) {
		this.bookPrice = bookPrice;
	}


	public String getPayStatusName() {
		return payStatusName;
	}


	public void setPayStatusName(String payStatusName) {
		this.payStatusName = payStatusName;
	}


	public String getContactWay() {
		return contactWay;
	}


	public void setContactWay(String contactWay) {
		this.contactWay = contactWay;
	}


	public String getPayWayName() {
		return payWayName;
	}


	public void setPayWayName(String payWayName) {
		this.payWayName = payWayName;
	}
	
	
	
}
